package com.qyl.honghengshop.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qyl.honghengshop.dto.PictureCarousel;
import com.qyl.honghengshop.utils.PageBean;

public interface PictureMapper {

	int getRecordCount(PictureCarousel picture);

	List<PictureCarousel> pictureList(@Param("pageBean")PageBean pageBean,@Param("picture")PictureCarousel picture);

	int pictureAdd(PictureCarousel picture);

	int delPic(Integer id);

	PictureCarousel getPicById(Integer id);

	int pictureUpdate(PictureCarousel picture);

	List<PictureCarousel> allPictureList();

}
